<%--
  Created by IntelliJ IDEA.
  User: user
  Date: 2022/4/22
  Time: 11:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--接收pagecontext域中的值--%>
<%--<%Object ob=pageContext.getAttribute("username");%>--%>
<%--接收request域中的值--%>
<%--<%Object ob=request.getAttribute("username");%>--%>
<%--接收session域中的值--%>
<%--<%Object ob=session.getAttribute("username");%>--%>
<%--接收application域中的值--%>
<%Object ob=application.getAttribute("username");%>
从index.jsp页面跳转到的show2.jsp页面
接收上一个页面传递进来的值：
<%out.print(ob);%>

</body>
</html>
